# include "Observer.hpp"

int main()
{
	MySubject* subject = new Cat();
	MyObeserver* obs1 = new Dog();
	MyObeserver* obs2 = new Dog();
	MyObeserver* obs3 = new Mouse();

	subject->attach(obs1);
	subject->attach(obs2);
	subject->attach(obs3);

	subject->Say();

	return 0;
}